package edu.sctu.practice.class02.liqing.test08;

/**
 * Created by 123456 on 2015/10/10.
 */
public class Truck extends Vehicles {
    float load;
    public Truck(String brand,String color,float load){
        super(brand,color);
        this.load = load;
    }
    public void showTruck(){
        System.out.println("商标为: " + brand + "  " + "颜色为：" + color +"  "+"载重" + load +"吨");
    }
}


